/*
 development:
 "147571295369511" dev id

 */
var conf = {
    FB_channel_url: 'http://battlerafts.appspot.com/html/channel.html',

    gameName: 'Battlerafts',
    rootUrl: window.location.protocol + "//" + window.location.host + '/'
};
conf.gameMultiplayerUrl = conf.rootUrl + '?gameID=';

if (isLocalhost()) {
    /*
        this is development
        site URL "http://localhost:8080/"
     */
    conf.isLocalHost = true;
    conf.FB_app_id = '147571295369511'; // has to be string
}
else {
    /*
        site URL "http://battlerafts.appspot.com/"
     */
    conf.isLocalHost = false;
    conf.FB_app_id = '258222107594922'; // has to be string
}